package com.farm.device.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_device_info")
public class DeviceInfo {
    @Id
    private Integer id;
    private Integer did;      // 设备ID,
    private String info;     //   使用说明,
    private String param;    // 规格参数,
    private String install;  //建议安装方式,

    public DeviceInfo(Integer did, String info, String param, String install) {
        this.did = did;
        this.info = info;
        this.param = param;
        this.install = install;
    }

    @Override
    public String toString() {
        return "DeviceInfo{" +
                "id=" + id +
                ", did=" + did +
                ", info='" + info + '\'' +
                ", param='" + param + '\'' +
                ", install='" + install + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getInstall() {
        return install;
    }

    public void setInstall(String install) {
        this.install = install;
    }

    public DeviceInfo() {
    }

    public DeviceInfo(Integer id, Integer did, String info, String param, String install) {
        this.id = id;
        this.did = did;
        this.info = info;
        this.param = param;
        this.install = install;
    }
}
